package com.mall.constant.enums;

import lombok.Getter;

/**
 * @author White
 * @version 1.0
 * @email 616769721@qq.com
 * @date 2021/7/23 11:07
 */
@Getter
public enum OrderStatus {
    /**
     * 状态
     */
    NON_PAYMENT("0","未付款"),
    HAVE_PAID("1","已支付"),
    OVER_SHIPPED("2","已发货"),
    BECAME_NVALID("3","已失效"),
    CLOSING("4","交易完成");

    private final String code;
    private final String message;
    OrderStatus(String code,String message){
        this.code = code;
        this.message = message;
    }
}
